<?php
namespace lib\src;

class config{
	//配置文件地址
	protected static $configAddress = "./config.php";
	/**
	 * 获取配置
	 */
	public function getConfig($type){
		$config = include(self::$configAddress);
		return $config[$type];
	}
}
?>